<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 6.0.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"mosishall.gitee.com","root":"/","scheme":"Gemini","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":true,"scrollpercent":true},"bookmark":{"enable":true,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":true},"motion":{"enable":true,"async":true,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"};
  </script>

  <meta name="description" content="由于markdow语法简洁明了，用起来比纯文本方便，且功能不俗，用于搭建博客文章再好不过。">
<meta property="og:type" content="article">
<meta property="og:title" content="Markdown语法记录">
<meta property="og:url" content="https://mosishall.gitee.com/2019/03/17/markdown%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/index.html">
<meta property="og:site_name" content="MosiShall&#39;s Blog">
<meta property="og:description" content="由于markdow语法简洁明了，用起来比纯文本方便，且功能不俗，用于搭建博客文章再好不过。">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1552919267960&di=da7aa6823bf74452a8dd046765fa99b2&imgtype=0&src=http://img.mp.itc.cn/upload/20161228/8c20ff212ab342f2bf9c293f500ed0b2_th.jpeg">
<meta property="article:published_time" content="2019-03-17T14:32:53.000Z">
<meta property="article:modified_time" content="2019-03-27T13:13:54.000Z">
<meta property="article:author" content="mosishall">
<meta property="article:tag" content="Markdown">
<meta property="article:tag" content="Hexo">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1552919267960&di=da7aa6823bf74452a8dd046765fa99b2&imgtype=0&src=http://img.mp.itc.cn/upload/20161228/8c20ff212ab342f2bf9c293f500ed0b2_th.jpeg">

<link rel="canonical" href="https://mosishall.gitee.com/2019/03/17/markdown%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>Markdown语法记录 | MosiShall's Blog</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">MosiShall's Blog</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
      <p class="site-subtitle" itemprop="description">-夕阳落剑复少年-</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a>

  </li>
        <li class="menu-item menu-item-tags">

    <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a>

  </li>
        <li class="menu-item menu-item-categories">

    <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a>

  </li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result">
  <div id="no-result">
    <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>
  </div>
</div>

    </div>
  </div>

</div>
    </header>

    
  <div class="reading-progress-bar"></div>
  <a role="button" class="book-mark-link book-mark-link-fixed"></a>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="https://mosishall.gitee.com/2019/03/17/markdown%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/imgPost/imgHead.gif">
      <meta itemprop="name" content="mosishall">
      <meta itemprop="description" content="-革命-">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="MosiShall's Blog">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          Markdown语法记录
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2019-03-17 22:32:53" itemprop="dateCreated datePublished" datetime="2019-03-17T22:32:53+08:00">2019-03-17</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">更新于</span>
                <time title="修改时间：2019-03-27 21:13:54" itemprop="dateModified" datetime="2019-03-27T21:13:54+08:00">2019-03-27</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/Markdown%E8%AF%AD%E6%B3%95/" itemprop="url" rel="index"><span itemprop="name">Markdown语法</span></a>
                </span>
            </span>

          
  
  <span class="post-meta-item">
    
      <span class="post-meta-item-icon">
        <i class="far fa-comment"></i>
      </span>
      <span class="post-meta-item-text">Valine：</span>
    
    <a title="valine" href="/2019/03/17/markdown%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/#valine-comments" itemprop="discussionUrl">
      <span class="post-comments-count valine-comment-count" data-xid="/2019/03/17/markdown%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/" itemprop="commentCount"></span>
    </a>
  </span>
  
  <br>
            <span class="post-meta-item" title="本文字数">
              <span class="post-meta-item-icon">
                <i class="far fa-file-word"></i>
              </span>
                <span class="post-meta-item-text">本文字数：</span>
              <span>2.3k</span>
            </span>
            <span class="post-meta-item" title="阅读时长">
              <span class="post-meta-item-icon">
                <i class="far fa-clock"></i>
              </span>
                <span class="post-meta-item-text">阅读时长 &asymp;</span>
              <span>2 分钟</span>
            </span>
            <div class="post-description">由于markdow语法简洁明了，用起来比纯文本方便，且功能不俗，用于搭建博客文章再好不过。</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <h1 id="等级标题"><a href="#等级标题" class="headerlink" title="等级标题"></a>等级标题</h1><p>代码：</p>
<figure class="highlight clean"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"># 一级标题</span><br><span class="line">## 二级标题</span><br><span class="line">### 三级标题</span><br><span class="line">#### 四级标题</span><br><span class="line">##### 五级标题</span><br><span class="line">###### 六级标题</span><br></pre></td></tr></table></figure>
<blockquote>
<p>注意：标记语言符号和所需要填写的文字之间需要有一个英文字符空格 <strong>并且最多有六级标题</strong></p>
</blockquote>
<p>显示效果如下：</p>
<h1 id="一级标题"><a href="#一级标题" class="headerlink" title="一级标题"></a>一级标题</h1><h2 id="二级标题"><a href="#二级标题" class="headerlink" title="二级标题"></a>二级标题</h2><h3 id="三级标题"><a href="#三级标题" class="headerlink" title="三级标题"></a>三级标题</h3><h4 id="四级标题"><a href="#四级标题" class="headerlink" title="四级标题"></a>四级标题</h4><h5 id="五级标题"><a href="#五级标题" class="headerlink" title="五级标题"></a>五级标题</h5><h6 id="六级标题"><a href="#六级标题" class="headerlink" title="六级标题"></a>六级标题</h6><hr>
<h1 id="各种字体"><a href="#各种字体" class="headerlink" title="各种字体"></a>各种字体</h1><figure class="highlight asciidoc"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="strong">*斜体*</span></span><br><span class="line"><span class="strong">**加粗字体**</span></span><br><span class="line"><span class="strong">***加粗且斜体**</span>*</span><br><span class="line">~~删除线你看的到吗~~</span><br></pre></td></tr></table></figure>
<p><strong>显示效果：</strong><br><em>斜体</em><br><strong>加粗字体</strong><br><em><strong>加粗且斜体</strong></em><br><del>删除线你看的到吗</del></p>
<hr>
<h1 id="引用测试"><a href="#引用测试" class="headerlink" title="引用测试"></a>引用测试</h1><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">&gt; </span><span class="language-bash">I</span></span><br><span class="line"><span class="meta">&gt;</span><span class="language-bash">&gt; II</span></span><br><span class="line"><span class="meta">&gt;</span><span class="language-bash">&gt;&gt; III</span></span><br><span class="line"><span class="meta">&gt;</span><span class="language-bash">&gt;&gt;&gt; IV</span></span><br><span class="line"><span class="meta">&gt;</span><span class="language-bash">&gt;&gt;&gt;&gt; V</span></span><br><span class="line"><span class="meta">&gt;</span><span class="language-bash">&gt;&gt;&gt;&gt;&gt; VI</span></span><br><span class="line"><span class="meta">&gt;</span><span class="language-bash">&gt;&gt;&gt;&gt;&gt;&gt; VII</span></span><br><span class="line"><span class="meta">&gt;</span><span class="language-bash">&gt;&gt;&gt;&gt;&gt;&gt;&gt; VIII</span></span><br></pre></td></tr></table></figure>
<p><strong>显示效果：</strong></p>
<blockquote>
<p>I</p>
<blockquote>
<p>II</p>
<blockquote>
<p>III</p>
<blockquote>
<p>IV</p>
<blockquote>
<p>V</p>
<blockquote>
<p>VI</p>
<blockquote>
<p>VII</p>
<blockquote>
<p>VIII</p>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<h1 id="分割线"><a href="#分割线" class="headerlink" title="分割线"></a>分割线</h1><figure class="highlight yaml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">---</span></span><br><span class="line"><span class="string">上面的是分割线</span></span><br><span class="line"><span class="string">******</span></span><br><span class="line"><span class="string">上面的也是分割线</span></span><br></pre></td></tr></table></figure>
<hr>
<p>上面的是分割线</p>
<hr>
<p>上面的也是分割线</p>
<hr>
<h1 id="超链接测试和插入图片"><a href="#超链接测试和插入图片" class="headerlink" title="超链接测试和插入图片"></a>超链接测试和插入图片</h1><p>语法：[链接名称][标记]<br>　　　　　[标记]: 链接地址 “链接title”</p>
<blockquote>
<p>插入图片比超链接在开头多了一个!</p>
</blockquote>
<figure class="highlight llvm"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">![动漫](https://timgsa.baidu.com/timg?image&amp;quality<span class="operator">=</span><span class="number">80</span>&amp;size<span class="operator">=</span>b<span class="number">9999</span>_<span class="number">10000</span>&amp;sec<span class="operator">=</span><span class="number">1552919267960</span>&amp;di<span class="operator">=</span>da<span class="number">7</span>aa<span class="number">6823</span>bf<span class="number">74452</span>a<span class="number">8</span>dd<span class="number">046765</span>fa<span class="number">99</span>b<span class="number">2</span>&amp;imgtype<span class="operator">=</span><span class="number">0</span>&amp;src<span class="operator">=</span>http<span class="variable">%3</span>A<span class="variable">%2</span>F<span class="variable">%2</span>Fimg.mp.itc.cn<span class="variable">%2</span>Fupload<span class="variable">%2</span>F<span class="number">20161228</span><span class="variable">%2</span>F<span class="number">8</span><span class="keyword">c</span><span class="number">20</span>ff<span class="number">212</span>ab<span class="number">342</span>f<span class="number">2</span>bf<span class="number">9</span><span class="keyword">c</span><span class="number">293</span>f<span class="number">500</span>ed<span class="number">0</span>b<span class="number">2</span>_th.jpeg <span class="string">&quot;动漫&quot;</span>)</span><br><span class="line"></span><br><span class="line"></span><br><span class="line">[超链接到百度](https://www.baidu.com)</span><br><span class="line">&lt;a href<span class="operator">=</span><span class="string">&quot;https://www.baidu.com&quot;</span>&gt;href百度&lt;/a&gt;</span><br></pre></td></tr></table></figure>
<p><strong>显示效果：</strong><br><img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1552919267960&di=da7aa6823bf74452a8dd046765fa99b2&imgtype=0&src=http://img.mp.itc.cn/upload/20161228/8c20ff212ab342f2bf9c293f500ed0b2_th.jpeg" alt="动漫" title="动漫"><br><a target="_blank" rel="noopener" href="https://www.baidu.com/">超链接到百度</a><br><a target="_blank" rel="noopener" href="https://www.baidu.com">href百度</a></p>
<hr>
<h1 id="有序和无序列表"><a href="#有序和无序列表" class="headerlink" title="有序和无序列表"></a>有序和无序列表</h1><p>无序列表</p>
<figure class="highlight markdown"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="bullet">-</span> 无序列表一</span><br><span class="line"><span class="bullet">+</span> 无序列表二</span><br><span class="line"><span class="bullet">*</span> 无序列表三</span><br></pre></td></tr></table></figure>
<p><strong>显示效果：</strong></p>
<ul>
<li>无序列表一</li>
</ul>
<ul>
<li>无序列表二</li>
</ul>
<ul>
<li>无序列表三</li>
</ul>
<p>有序列表：</p>
<figure class="highlight markdown"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="bullet">1.</span> 有序列表一</span><br><span class="line"><span class="bullet">2.</span> 有序列表二</span><br><span class="line"><span class="bullet">3.</span> 有序列表三</span><br></pre></td></tr></table></figure>
<p><strong>显示效果</strong></p>
<ol>
<li>有序列表一</li>
<li>有序列表二</li>
<li>有序列表三</li>
</ol>
<blockquote>
<p>注意：序号和内容之间有空格</p>
</blockquote>
<h2 id="列表嵌套"><a href="#列表嵌套" class="headerlink" title="列表嵌套"></a>列表嵌套</h2><figure class="highlight markdown"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="bullet">+</span> 一级无序列表内容</span><br><span class="line"><span class="bullet">   +</span> 二级无序列表内容</span><br><span class="line"><span class="bullet">   -</span> 二级无序列表内容</span><br><span class="line"><span class="bullet">   *</span> 二级无序列表内容</span><br></pre></td></tr></table></figure>
<p><strong>显示效果：</strong></p>
<ul>
<li>一级无序列表内容<ul>
<li>二级无序列表内容</li>
</ul>
<ul>
<li>二级无序列表内容</li>
</ul>
<ul>
<li>二级无序列表内容</li>
</ul>
</li>
</ul>
<figure class="highlight markdown"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line"><span class="bullet">1.</span> 一级无序列表内容</span><br><span class="line"><span class="bullet">   +</span> 二级无序列表内容</span><br><span class="line"><span class="bullet">   -</span> 二级无序列表内容</span><br><span class="line"><span class="bullet">   *</span> 二级无序列表内容</span><br><span class="line"><span class="bullet">2.</span> 一级有序列表内容</span><br><span class="line"><span class="bullet">   1.</span> 有序列表内容</span><br><span class="line"><span class="bullet">   2.</span> 有序列表内容</span><br><span class="line"><span class="bullet">   3.</span> 有序列表内容</span><br></pre></td></tr></table></figure>
<p><strong>显示效果：</strong></p>
<ol>
<li>一级无序列表内容<ul>
<li>二级无序列表内容</li>
</ul>
<ul>
<li>二级无序列表内容</li>
</ul>
<ul>
<li>二级无序列表内容</li>
</ul>
</li>
<li>一级有序列表内容<ol>
<li>有序列表内容</li>
<li>有序列表内容</li>
<li>有序列表内容</li>
</ol>
</li>
</ol>
<hr>
<h1 id="表格测试"><a href="#表格测试" class="headerlink" title="表格测试"></a>表格测试</h1><figure class="highlight asciidoc"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">name|sex|age</span><br><span class="line"><span class="meta">:--|:--:|--:</span></span><br><span class="line">小明|男|12</span><br><span class="line">小红|女|12</span><br><span class="line">居左|居中|居右</span><br></pre></td></tr></table></figure>
<blockquote>
<p><strong>注意：第二行的冒号控制文本格式，左边为左对齐，，右边为右对齐，两边都有则为居中</strong></p>
</blockquote>
<p><strong>显示效果:</strong></p>
<table>
<thead>
<tr>
<th align="left">name</th>
<th align="center">sex</th>
<th align="right">age</th>
</tr>
</thead>
<tbody><tr>
<td align="left">小明</td>
<td align="center">男</td>
<td align="right">12</td>
</tr>
<tr>
<td align="left">小红</td>
<td align="center">女</td>
<td align="right">12</td>
</tr>
<tr>
<td align="left">居左</td>
<td align="center">居中</td>
<td align="right">居右</td>
</tr>
</tbody></table>
<hr>
<h1 id="代码块测试"><a href="#代码块测试" class="headerlink" title="代码块测试"></a>代码块测试</h1><ul>
<li>单行代码<blockquote>
<p>一个tab键或者4个空字符</p>
</blockquote>
<p><code>hello world</code></p>
</li>
</ul>
<ul>
<li>代码块<br>三个esc下面的键位符(反单引号)`括起来<figure class="highlight cpp"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#<span class="keyword">include</span><span class="string">&lt;stdio.h&gt;</span></span></span><br><span class="line"><span class="function"><span class="type">int</span> <span class="title">main</span><span class="params">()</span></span></span><br><span class="line"><span class="function"></span>&#123;</span><br><span class="line">    <span class="built_in">printf</span>(<span class="string">&quot;Hello World!\n&quot;</span>);</span><br><span class="line">    <span class="keyword">return</span> <span class="number">0</span>;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></li>
</ul>
<hr>
<h1 id="高亮显示"><a href="#高亮显示" class="headerlink" title="高亮显示"></a>高亮显示</h1><figure class="highlight node-repl"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">&gt;</span> <span class="language-javascript">高亮显示</span></span><br></pre></td></tr></table></figure>
<blockquote>
<p>高亮显示</p>
</blockquote>
<h1 id="反斜杠"><a href="#反斜杠" class="headerlink" title="反斜杠"></a>反斜杠</h1><blockquote>
<p>反斜杠\加特殊符号可转义为普通符号</p>
</blockquote>
<h1 id="复选框"><a href="#复选框" class="headerlink" title="复选框"></a>复选框</h1><figure class="highlight asciidoc"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="bullet">- </span>[x] 认真  </span><br><span class="line"><span class="bullet">- </span>[ ] 努力 </span><br><span class="line"><span class="bullet">- </span>[ ] 积极</span><br></pre></td></tr></table></figure>
<blockquote>
<p>显示效果如下：</p>
</blockquote>
<ul>
<li><input checked="" disabled="" type="checkbox"> 认真  </li>
<li><input disabled="" type="checkbox"> 努力 </li>
<li><input disabled="" type="checkbox"> 积极</li>
</ul>
<hr>
<h1 id="Hexo，note笔记"><a href="#Hexo，note笔记" class="headerlink" title="Hexo，note笔记"></a>Hexo，note笔记</h1><p><strong>代码：</strong></p>
<figure class="highlight django"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br></pre></td><td class="code"><pre><span class="line"><span class="template-tag">&#123;% <span class="name">label</span> default@default %&#125;</span><span class="language-xml"></span></span><br><span class="line"><span class="language-xml"></span><span class="template-tag">&#123;% <span class="name">label</span> primary@primary %&#125;</span><span class="language-xml"></span></span><br><span class="line"><span class="language-xml"></span><span class="template-tag">&#123;% <span class="name">label</span> success@success %&#125;</span><span class="language-xml"></span></span><br><span class="line"><span class="language-xml"></span><span class="template-tag">&#123;% <span class="name">label</span> info@info %&#125;</span><span class="language-xml"></span></span><br><span class="line"><span class="language-xml"></span><span class="template-tag">&#123;% <span class="name">label</span> warning@warning %&#125;</span><span class="language-xml"></span></span><br><span class="line"><span class="language-xml"></span><span class="template-tag">&#123;% <span class="name">label</span> danger@danger %&#125;</span><span class="language-xml"></span></span><br><span class="line"><span class="language-xml"></span></span><br><span class="line"><span class="language-xml"><span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">&quot;note default&quot;</span>&gt;</span><span class="tag">&lt;<span class="name">p</span>&gt;</span>default<span class="tag">&lt;/<span class="name">p</span>&gt;</span><span class="tag">&lt;/<span class="name">div</span>&gt;</span></span></span><br><span class="line"><span class="language-xml"><span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">&quot;note primary&quot;</span>&gt;</span><span class="tag">&lt;<span class="name">p</span>&gt;</span>primary<span class="tag">&lt;/<span class="name">p</span>&gt;</span><span class="tag">&lt;/<span class="name">div</span>&gt;</span></span></span><br><span class="line"><span class="language-xml"><span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">&quot;note success&quot;</span>&gt;</span><span class="tag">&lt;<span class="name">p</span>&gt;</span>success<span class="tag">&lt;/<span class="name">p</span>&gt;</span><span class="tag">&lt;/<span class="name">div</span>&gt;</span></span></span><br><span class="line"><span class="language-xml"><span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">&quot;note info&quot;</span>&gt;</span><span class="tag">&lt;<span class="name">p</span>&gt;</span>info<span class="tag">&lt;/<span class="name">p</span>&gt;</span><span class="tag">&lt;/<span class="name">div</span>&gt;</span></span></span><br><span class="line"><span class="language-xml"><span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">&quot;note warning&quot;</span>&gt;</span><span class="tag">&lt;<span class="name">p</span>&gt;</span>warning<span class="tag">&lt;/<span class="name">p</span>&gt;</span><span class="tag">&lt;/<span class="name">div</span>&gt;</span></span></span><br><span class="line"><span class="language-xml"><span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">&quot;note danger&quot;</span>&gt;</span><span class="tag">&lt;<span class="name">p</span>&gt;</span>danger<span class="tag">&lt;/<span class="name">p</span>&gt;</span><span class="tag">&lt;/<span class="name">div</span>&gt;</span></span></span><br><span class="line"><span class="language-xml"><span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">&quot;note danger no-icon&quot;</span>&gt;</span><span class="tag">&lt;<span class="name">p</span>&gt;</span>danger no-icon<span class="tag">&lt;/<span class="name">p</span>&gt;</span><span class="tag">&lt;/<span class="name">div</span>&gt;</span></span></span><br></pre></td></tr></table></figure>

    </div>

    
    
    
        <div class="reward-container">
  <div>您的鼓励是对我创作的动力来源.</div>
  <button onclick="var qr = document.getElementById('qr'); qr.style.display = (qr.style.display === 'none') ? 'block' : 'none';">
    打赏
  </button>
  <div id="qr" style="display: none;">
      
      <div style="display: inline-block;">
        <img src="/imgPost/weChatPay.jpg" alt="mosishall 微信支付">
        <p>微信支付</p>
      </div>

  </div>
</div>

        

<div>
<ul class="post-copyright">
  <li class="post-copyright-author">
    <strong>本文作者： </strong>mosishall
  </li>
  <li class="post-copyright-link">
    <strong>本文链接：</strong>
    <a href="https://mosishall.gitee.com/2019/03/17/markdown%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/" title="Markdown语法记录">https://mosishall.gitee.com/2019/03/17/markdown基础语法/</a>
  </li>
  <li class="post-copyright-license">
    <strong>版权声明： </strong>本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="noopener" target="_blank"><i class="fab fa-fw fa-creative-commons"></i>BY-NC-SA</a> 许可协议。转载请注明出处！
  </li>
</ul>
</div>


      <footer class="post-footer">
          <div class="post-tags">
              <a href="/tags/Markdown/" rel="tag"># Markdown</a>
              <a href="/tags/Hexo/" rel="tag"># Hexo</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item"></div>
      <div class="post-nav-item">
    <a href="/2019/03/27/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8github%E5%92%8Chexo%E6%90%AD%E5%BB%BA%E4%B8%AA%E4%BA%BA%E5%8D%9A%E5%AE%A2/" rel="next" title="使用GitHub+Hexo搭建个人博客网站">
      使用GitHub+Hexo搭建个人博客网站 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          
    <div class="comments" id="valine-comments"></div>

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#%E7%AD%89%E7%BA%A7%E6%A0%87%E9%A2%98"><span class="nav-number">1.</span> <span class="nav-text">等级标题</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E4%B8%80%E7%BA%A7%E6%A0%87%E9%A2%98"><span class="nav-number">2.</span> <span class="nav-text">一级标题</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E4%BA%8C%E7%BA%A7%E6%A0%87%E9%A2%98"><span class="nav-number">2.1.</span> <span class="nav-text">二级标题</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#%E4%B8%89%E7%BA%A7%E6%A0%87%E9%A2%98"><span class="nav-number">2.1.1.</span> <span class="nav-text">三级标题</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%9B%9B%E7%BA%A7%E6%A0%87%E9%A2%98"><span class="nav-number">2.1.1.1.</span> <span class="nav-text">四级标题</span></a><ol class="nav-child"><li class="nav-item nav-level-5"><a class="nav-link" href="#%E4%BA%94%E7%BA%A7%E6%A0%87%E9%A2%98"><span class="nav-number">2.1.1.1.1.</span> <span class="nav-text">五级标题</span></a><ol class="nav-child"><li class="nav-item nav-level-6"><a class="nav-link" href="#%E5%85%AD%E7%BA%A7%E6%A0%87%E9%A2%98"><span class="nav-number">2.1.1.1.1.1.</span> <span class="nav-text">六级标题</span></a></li></ol></li></ol></li></ol></li></ol></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E5%90%84%E7%A7%8D%E5%AD%97%E4%BD%93"><span class="nav-number">3.</span> <span class="nav-text">各种字体</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E5%BC%95%E7%94%A8%E6%B5%8B%E8%AF%95"><span class="nav-number">4.</span> <span class="nav-text">引用测试</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E5%88%86%E5%89%B2%E7%BA%BF"><span class="nav-number">5.</span> <span class="nav-text">分割线</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E8%B6%85%E9%93%BE%E6%8E%A5%E6%B5%8B%E8%AF%95%E5%92%8C%E6%8F%92%E5%85%A5%E5%9B%BE%E7%89%87"><span class="nav-number">6.</span> <span class="nav-text">超链接测试和插入图片</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E6%9C%89%E5%BA%8F%E5%92%8C%E6%97%A0%E5%BA%8F%E5%88%97%E8%A1%A8"><span class="nav-number">7.</span> <span class="nav-text">有序和无序列表</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%88%97%E8%A1%A8%E5%B5%8C%E5%A5%97"><span class="nav-number">7.1.</span> <span class="nav-text">列表嵌套</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E8%A1%A8%E6%A0%BC%E6%B5%8B%E8%AF%95"><span class="nav-number">8.</span> <span class="nav-text">表格测试</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E4%BB%A3%E7%A0%81%E5%9D%97%E6%B5%8B%E8%AF%95"><span class="nav-number">9.</span> <span class="nav-text">代码块测试</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E9%AB%98%E4%BA%AE%E6%98%BE%E7%A4%BA"><span class="nav-number">10.</span> <span class="nav-text">高亮显示</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E5%8F%8D%E6%96%9C%E6%9D%A0"><span class="nav-number">11.</span> <span class="nav-text">反斜杠</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E5%A4%8D%E9%80%89%E6%A1%86"><span class="nav-number">12.</span> <span class="nav-text">复选框</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#Hexo%EF%BC%8Cnote%E7%AC%94%E8%AE%B0"><span class="nav-number">13.</span> <span class="nav-text">Hexo，note笔记</span></a></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="mosishall"
      src="/imgPost/imgHead.gif">
  <p class="site-author-name" itemprop="name">mosishall</p>
  <div class="site-description" itemprop="description">-革命-</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives/">
        
          <span class="site-state-item-count">7</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/categories/">
          
        <span class="site-state-item-count">3</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
        <span class="site-state-item-count">6</span>
        <span class="site-state-item-name">标签</span>
      </div>
  </nav>
</div>
  <div class="links-of-author motion-element">
      <span class="links-of-author-item">
        <a href="https://github.com/mosishall" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;mosishall" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
      </span>
      <span class="links-of-author-item">
        <a href="mailto:mosishall@hotmail.com" title="E-Mail → mailto:mosishall@hotmail.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
      </span>
      <span class="links-of-author-item">
        <a href="https://space.bilibili.com/29608173" title="Bilibili → https:&#x2F;&#x2F;space.bilibili.com&#x2F;29608173" rel="noopener" target="_blank"><i class="youtube fa-fw"></i>Bilibili</a>
      </span>
  </div>


  <div class="links-of-blogroll motion-element">
    <div class="links-of-blogroll-title"><i class="fa fa-link fa-fw"></i>
      Links
    </div>
    <ul class="links-of-blogroll-list">
        <li class="links-of-blogroll-item">
          <a href="https://mosishall.gitee.io/" title="https:&#x2F;&#x2F;mosishall.gitee.io&#x2F;" rel="noopener" target="_blank">Gittee</a>
        </li>
    </ul>
  </div>

      </div>
        <div class="back-to-top motion-element">
          <i class="fa fa-arrow-up"></i>
          <span>0%</span>
        </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2022</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">mosishall</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-chart-area"></i>
    </span>
    <span title="站点总字数">5k</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-coffee"></i>
    </span>
    <span title="站点阅读时长">4 分钟</span>
</div>

        








      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>


<script src="/js/schemes/pisces.js"></script>


<script src="/js/next-boot.js"></script>

<script src="/js/bookmark.js"></script>




  




  
<script src="/js/local-search.js"></script>













  

  


<script>
NexT.utils.loadComments(document.querySelector('#valine-comments'), () => {
  NexT.utils.getScript('//cdn.jsdelivr.net/npm/valine@1/dist/Valine.min.js', () => {
    var GUEST = ['nick', 'mail', 'link'];
    var guest = 'nick,mail,link';
    guest = guest.split(',').filter(item => {
      return GUEST.includes(item);
    });
    new Valine({
      el         : '#valine-comments',
      verify     : false,
      notify     : false,
      appId      : 'Gb2cEwlWnKgKU91Q9t5ruqXI-gzGzoHsz',
      appKey     : 'vamb0g25DKBaFuIAGRGAjTuG',
      placeholder: "你是不是没屁放？",
      avatar     : 'mm',
      meta       : guest,
      pageSize   : '10' || 10,
      visitor    : false,
      lang       : '' || 'zh-cn',
      path       : location.pathname,
      recordIP   : false,
      serverURLs : ''
    });
  }, window.Valine);
});
</script>

<script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":{"jsonPath":"/live2dw/assets/haru02.model.json"},"display":{"position":"left","width":150,"height":400},"mobile":{"show":false,"search":null},"path":"search.xml","field":"post","format":"html","limit":10000,"log":false});</script></body>
</html>
